﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ProductCategory.aspx.cs"
    Inherits="SES.CMS.ProductCategory" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <script src="/js/jquery.js" type="text/javascript" charset="utf-8"></script>
    <script src="/js/jquery.tabify.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript">
			// <![CDATA[

        $(document).ready(function () {
            $('#tabsearch').tabify();
            $('#tabcat').tabify();
            $('#tabprleft').tabify();
            $('#tabprright').tabify();

        });
					
			// ]]>
		</script>
    <!--FancyBox-->
    <script type="text/javascript" src="/fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
    <script type="text/javascript" src="/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
    <script src="/fancybox/jquery.fancybox-1.3.4.pack.js" type="text/javascript"></script>
    <link rel="stylesheet" href="/fancybox/jquery.fancybox-1.3.4.css" type="text/css"
        media="screen" />
    <link href="/css/style2.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        $(document).ready(function () {
            $("a.fackybox").fancybox({
                'transitionIn': 'elastic',
                'transitionOut': 'elastic',
                'speedIn': 200,
                'speedOut': 200,
                'titlePosition': 'over',
                'overlayShow': true

            });
        });
    </script>
    <!-- Date picker-->
    <!--Tab Iframe-->
    <link href="css/easyui.css" rel="stylesheet" type="text/css" />
    <script src="js/jquery.easyui.min.js" type="text/javascript"></script>
    <!--Tab Iframe-->
    <link rel="stylesheet" href="/css/styleCategory.css" type="text/css" media="screen" />
</head>
<body style="margin-top: 0; margin-left: 0;">
    <form id="form1" runat="server">
    <div class="product-cat" runat="server" id="divProduct" visible="false">
        <div class="tabcatlv2x">
            <div class="content">
                <asp:Repeater runat="server" ID="rptLevel2Category" OnItemCommand="rptLevel2Category_ItemCommand">
                    <ItemTemplate>
                        <asp:LinkButton runat="server" ID="lbtnProduct" CommandArgument='<%#Eval("ProductCategoryID") %>'
                            CommandName="product_click">
                                            <img src='/Media/<%#Eval("ImageUrl") %>' alt='<%#Eval("ProductCategoryTitle") %>' />
                        </asp:LinkButton>
                    </ItemTemplate>
                </asp:Repeater>
            </div>
        </div>
    </div>
    <ul>
        <li>ufck fuck</li>
        <li>ufck fuck</li>
        <li>ufck fuck</li>
        <li>ufck fuck</li>
        <li>ufck fuck</li>
        <li>ufck fuck</li>
        <li>ufck fuck</li>
        <li>ufck fuck</li>
    </ul>
    <asp:Repeater runat="server" ID="rptProductDetail" Visible="false" OnItemDataBound="rptProductDetail_ItemDataBound">
        <HeaderTemplate>
            <div class="product-cat">
        </HeaderTemplate>
        <ItemTemplate>
            <div class="product-left">
                <div class="tabwrap">
                    <ul id="tabprleft" class="tabprleft">
                        <li class="active"><a href="#prpic">Ảnh sản phẩm</a> </li>
                        <li><a href="#prchart">Bản vẽ chi tiết</a></li>
                    </ul>
                    <div id="prpic" class="pr-content">
                        <div class="product-image-box">
                            <asp:Repeater runat="server" ID="rptImageProduct" OnItemDataBound="rptImageProduct_ItemDataBound">
                                <ItemTemplate>
                                    <asp:Panel runat="server" ID="pnalImage">
                                        <a class="fackybox" rel="groupsp" href='/Media/<%#Eval("ImgFile") %>' title='<%#Eval("Title")%>'>
                                            <img alt='<%#Eval("Title")%>' src='/Media/<%#Eval("ImgFile") %>' />
                                        </a>
                                    </asp:Panel>
                                    <%-- </div>--%>
                                    <%-- <div class="image-box">
                                                    <a class="fackybox" rel="groupsp" href='/Media/<%#Eval("ImgFile") %>' title='<%#Eval("Title")%>'>
                                                        <img alt='<%#Eval("Title")%>' src='/Media/<%#Eval("ImgFile") %>' />
                                                    </a>
                                                </div>--%>
                                </ItemTemplate>
                            </asp:Repeater>
                        </div>
                    </div>
                    <div id="prchart" class="pr-content">
                        <div class="ban-ve-chi-tiet-wrap">
                            <a class="fackybox" rel="groupsp" href='/Media/<%#Eval("ChartImage") %>' title='<%#Eval("ProductTitle")%>'>
                                <img alt='<%#Eval("ProductTitle")%>' src='/Media/<%#Eval("ChartImage") %>' />
                            </a>
                        </div>
                    </div>
                </div>
            </div>
            <div class="product-right">
                <div class="tabwrap">
                    <ul id="tabprright" class="tabprright">
                        <li class="active"><a href="#prdesc">Mô tả chung</a> </li>
                        <li><a href="#prdetail">Thông số chi tiết</a></li>
                        <li><a href="#pruse">Ứng dụng</a></li>
                    </ul>
                    <div id="prdesc" class="pr-content">
                        <%#Eval("Description")%>
                    </div>
                    <div id="prdetail" class="pr-content">
                        <div class="properties-wrap-box">
                            <asp:Repeater runat="server" ID="rptProductProperties">
                                <ItemTemplate>
                                    <p class="properties-wrap">
                                        <asp:Label runat="server" CssClass="properties-wrap-l" ID="lblPropertyName" Text='<%#Eval("PropertyName")%>'></asp:Label>
                                        <asp:Label runat="server" ID="lblValue" Text='<%#Eval("Value") %>' CssClass="properties-wrap-r"></asp:Label>
                                    </p>
                                </ItemTemplate>
                            </asp:Repeater>
                        </div>
                    </div>
                    <div id="pruse" class="pr-content">
                        <%#Eval("DetailDescription")%>
                    </div>
                </div>
            </div>
        </ItemTemplate>
        <FooterTemplate>
            </div></FooterTemplate>
    </asp:Repeater>
    </form>
</body>
</html>
